package com.dmcloud.order.service;

import com.dmcloud.order.entity.DmOrder;
import com.dmcloud.order.mapper.OrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by xiaodao
 * date: 2020/3/31
 */
@Service
public class OrderService {

    @Autowired
    private OrderMapper orderMapper;


    public void createOrder(DmOrder order){
        orderMapper.insert(order);
    }
}
